package com.smsc.headend.task.engine.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smsc.headend.module.task.entity.DeviceTaskSubProcess;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceTaskSubProcessMapper extends BaseMapper<DeviceTaskSubProcess> {

    List<DeviceTaskSubProcess> getRecentTaskExecuteInfo(@Param("comId") Long comId,@Param("deviceId") Long deviceId);

    List<DeviceTaskSubProcess> getRecentTaskExecuteInfoForPgsql(@Param("comId") Long comId,@Param("deviceId") Long deviceId);
}
